server:server.cpp ../mqcommon/message.pb.cc ../mqcommon/protocol.pb.cc  ../third/include/muduo/proto/codec.cc
	g++ -g -o $@ $^ -std=c++14 -lgtest -lprotobuf -lsqlite3 -pthread -lmuduo_net -lmuduo_base -lz
.PHONY:clean
clean:
	rm -f server